﻿using System;

namespace diantou.web.include
{
    /// <summary>
    /// 用户弹出窗口
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true, QueryName = null)]
    partial class userPopup : currentUserView<userPopup>
    {
        /// <summary>
        /// 用户关系
        /// </summary>
        private user.userRelation userRelation;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        private bool loadView(int userId)
        {
            userRelation.User = diantou.dataAccess.clientCache.User[userId];
            userRelation.UserId = currentUser.Id;
            return true;
        }
        /// <summary>
        /// 
        /// </summary>
        protected override void clear()
        {
            base.clear();
            userRelation.User = null;
        }
    }
}
